import { createApp } from 'vue'
import App from './App.vue'
// 引入数据仓库
import pinia from './store'
// 路由信息
import router from './router'
import countTo from 'vue3-count-to'
import AOS from 'aos'

import 'element-plus/theme-chalk/index.css'
import '@/utils/batchImportCss.js' // 引入全局css
import '../node_modules/aos/dist/aos.css'
import i18n from '@/locales/index'

// 自定义指令
import { setupDirective } from '@/directive'

const app = createApp(App)

setupDirective(app)

app.use(i18n).use(pinia).use(router).use(countTo).use(AOS).mount('#app')
